import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

class SmsLoginState implements Cloneable<SmsLoginState> {
  TextEditingController userNameController = TextEditingController();
  TextEditingController codeController = TextEditingController();
  bool isLoading = false;
  int remainSeconds = 0;
  String smsId;

  @override
  SmsLoginState clone() {
    return SmsLoginState()
      ..userNameController = userNameController
      ..codeController = codeController
      ..isLoading = isLoading
      ..remainSeconds = remainSeconds
      ..smsId = smsId;
  }
}

